﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000853 RID: 2131
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetTelevisionActivityDataScRsp : IMessage<GetTelevisionActivityDataScRsp>, IMessage, IEquatable<GetTelevisionActivityDataScRsp>, IDeepCloneable<GetTelevisionActivityDataScRsp>, IBufferMessage
	{
		// Token: 0x17001AEF RID: 6895
		// (get) Token: 0x06005F62 RID: 24418 RVA: 0x000FE913 File Offset: 0x000FCB13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetTelevisionActivityDataScRsp> Parser
		{
			get
			{
				return GetTelevisionActivityDataScRsp._parser;
			}
		}

		// Token: 0x17001AF0 RID: 6896
		// (get) Token: 0x06005F63 RID: 24419 RVA: 0x000FE91A File Offset: 0x000FCB1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetTelevisionActivityDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001AF1 RID: 6897
		// (get) Token: 0x06005F64 RID: 24420 RVA: 0x000FE92C File Offset: 0x000FCB2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetTelevisionActivityDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005F65 RID: 24421 RVA: 0x000FE933 File Offset: 0x000FCB33
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTelevisionActivityDataScRsp()
		{
		}

		// Token: 0x06005F66 RID: 24422 RVA: 0x000FE946 File Offset: 0x000FCB46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTelevisionActivityDataScRsp(GetTelevisionActivityDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.oHNPNADBCMC_ = other.oHNPNADBCMC_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005F67 RID: 24423 RVA: 0x000FE97C File Offset: 0x000FCB7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetTelevisionActivityDataScRsp Clone()
		{
			return new GetTelevisionActivityDataScRsp(this);
		}

		// Token: 0x17001AF2 RID: 6898
		// (get) Token: 0x06005F68 RID: 24424 RVA: 0x000FE984 File Offset: 0x000FCB84
		// (set) Token: 0x06005F69 RID: 24425 RVA: 0x000FE98C File Offset: 0x000FCB8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001AF3 RID: 6899
		// (get) Token: 0x06005F6A RID: 24426 RVA: 0x000FE995 File Offset: 0x000FCB95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<TelevisionActivityData> OHNPNADBCMC
		{
			get
			{
				return this.oHNPNADBCMC_;
			}
		}

		// Token: 0x06005F6B RID: 24427 RVA: 0x000FE99D File Offset: 0x000FCB9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetTelevisionActivityDataScRsp);
		}

		// Token: 0x06005F6C RID: 24428 RVA: 0x000FE9AC File Offset: 0x000FCBAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetTelevisionActivityDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.oHNPNADBCMC_.Equals(other.oHNPNADBCMC_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005F6D RID: 24429 RVA: 0x000FE9FC File Offset: 0x000FCBFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.oHNPNADBCMC_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005F6E RID: 24430 RVA: 0x000FEA49 File Offset: 0x000FCC49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005F6F RID: 24431 RVA: 0x000FEA51 File Offset: 0x000FCC51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005F70 RID: 24432 RVA: 0x000FEA5C File Offset: 0x000FCC5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.oHNPNADBCMC_.WriteTo(ref output, GetTelevisionActivityDataScRsp._repeated_oHNPNADBCMC_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005F71 RID: 24433 RVA: 0x000FEAAC File Offset: 0x000FCCAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.oHNPNADBCMC_.CalculateSize(GetTelevisionActivityDataScRsp._repeated_oHNPNADBCMC_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005F72 RID: 24434 RVA: 0x000FEB00 File Offset: 0x000FCD00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetTelevisionActivityDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.oHNPNADBCMC_.Add(other.oHNPNADBCMC_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005F73 RID: 24435 RVA: 0x000FEB4D File Offset: 0x000FCD4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005F74 RID: 24436 RVA: 0x000FEB58 File Offset: 0x000FCD58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.oHNPNADBCMC_.AddEntriesFrom(ref input, GetTelevisionActivityDataScRsp._repeated_oHNPNADBCMC_codec);
				}
			}
		}

		// Token: 0x040024B9 RID: 9401
		private static readonly MessageParser<GetTelevisionActivityDataScRsp> _parser = new MessageParser<GetTelevisionActivityDataScRsp>(() => new GetTelevisionActivityDataScRsp());

		// Token: 0x040024BA RID: 9402
		private UnknownFieldSet _unknownFields;

		// Token: 0x040024BB RID: 9403
		public const int RetcodeFieldNumber = 14;

		// Token: 0x040024BC RID: 9404
		private uint retcode_;

		// Token: 0x040024BD RID: 9405
		public const int OHNPNADBCMCFieldNumber = 3;

		// Token: 0x040024BE RID: 9406
		private static readonly FieldCodec<TelevisionActivityData> _repeated_oHNPNADBCMC_codec = FieldCodec.ForMessage<TelevisionActivityData>(26U, TelevisionActivityData.Parser);

		// Token: 0x040024BF RID: 9407
		private readonly RepeatedField<TelevisionActivityData> oHNPNADBCMC_ = new RepeatedField<TelevisionActivityData>();
	}
}
